package com.borrowed.book.book.mapper;

import com.borrowed.book.book.domain.BookOrderDetailDto;
import com.borrowed.book.book.domain.CardOrderDetailDto;
import com.borrowed.book.book.domain.PayOrderDetailDto;
import com.borrowed.book.book.domain.SPayOrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface SPayOrderDetailMapper {
    int insert(SPayOrderDetail record);

    int insertSelective(SPayOrderDetail record);

    List<BookOrderDetailDto> selectBookListByOrderNo(String orderNo);

    CardOrderDetailDto selectCardByOrderNo(String orderNo);

}